package com.xiye.system.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @author 西野
 * @version V1.0
 * @title YmlConfig.java
 * @package com.xiye.system.config
 * @description 服务器返回提示语
 * @date 2018-07-23
 */
@Configuration
public class YmlConfig {

    /*
     * 请重新登录
     */
    @Value("${xiye.validation.login.again}")
    private String login_again;

    /*
     * 用户名或密码错误
     */
    @Value("${xiye.validation.login.error}")
    private String login_error;

    /*
     * 退出登录
     */
    @Value("${xiye.validation.login.logout}")
    private String login_logout;

    /*
     * 登录凭证已过期，请重新登录
     */
    @Value("${xiye.validation.login.logouted}")
    private String login_logouted;

    /*
     * 登录成功
     */
    @Value("${xiye.validation.login.success}")
    private String login_success;

    /*
     * 旧密码错误
     */
    @Value("${xiye.validation.loginpassword.error}")
    private String loginpassword_error;

    /*
     * 密码修改成功
     */
    @Value("${xiye.validation.loginpassword.success}")
    private String loginpassword_success;

    /*
     * 服务器异常
     */
    @Value("${xiye.validation.server.error}")
    private String server_error;

    /*
     * 操作成功
     */
    @Value("${xiye.validation.server.success}")
    private String server_success;

    /* 你没有进行该操作的权限*/
    @Value("${xiye.validation.server.authorization}")
    private String authorization;

    public String getAuthorization() {
        return authorization;
    }

    public void setAuthorization(String authorization) {
        this.authorization = authorization;
    }

    public String getLogin_again() {
        return login_again;
    }

    public void setLogin_again(String login_again) {
        this.login_again = login_again;
    }

    public String getLogin_error() {
        return login_error;
    }

    public void setLogin_error(String login_error) {
        this.login_error = login_error;
    }

    public String getLogin_logout() {
        return login_logout;
    }

    public void setLogin_logout(String login_logout) {
        this.login_logout = login_logout;
    }

    public String getLogin_logouted() {
        return login_logouted;
    }

    public void setLogin_logouted(String login_logouted) {
        this.login_logouted = login_logouted;
    }

    public String getLogin_success() {
        return login_success;
    }

    public void setLogin_success(String login_success) {
        this.login_success = login_success;
    }

    public String getLoginpassword_error() {
        return loginpassword_error;
    }

    public void setLoginpassword_error(String loginpassword_error) {
        this.loginpassword_error = loginpassword_error;
    }

    public String getLoginpassword_success() {
        return loginpassword_success;
    }

    public void setLoginpassword_success(String loginpassword_success) {
        this.loginpassword_success = loginpassword_success;
    }

    public String getServer_error() {
        return server_error;
    }

    public void setServer_error(String server_error) {
        this.server_error = server_error;
    }

    public String getServer_success() {
        return server_success;
    }

    public void setServer_success(String server_success) {
        this.server_success = server_success;
    }
}
